package controller.Items;

import javafx.beans.property.SimpleStringProperty;

public class student {
    private final SimpleStringProperty id;
    private final SimpleStringProperty name;
    private final SimpleStringProperty sex;
    private final SimpleStringProperty clas;
    private final SimpleStringProperty rnum;
    private final SimpleStringProperty bnum;
    public student(String i,String n,String s,String c,String b,String r){
        id= new SimpleStringProperty(i);
        name=new SimpleStringProperty(n);
        sex=new SimpleStringProperty(s);
        clas=new SimpleStringProperty(c);
        bnum=new SimpleStringProperty(b);
        rnum=new SimpleStringProperty(r);
    }

    public String getId() {
        return id.get();
    }

    public SimpleStringProperty idProperty() {
        return id;
    }

    public void setId(String id) {
        this.id.set(id);
    }

    public String getName() {
        return name.get();
    }

    public SimpleStringProperty nameProperty() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public String getSex() {
        return sex.get();
    }

    public SimpleStringProperty sexProperty() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex.set(sex);
    }

    public String getClas() {
        return clas.get();
    }

    public SimpleStringProperty clasProperty() {
        return clas;
    }

    public void setClas(String clas) {
        this.clas.set(clas);
    }

    public String getRnum() {
        return rnum.get();
    }

    public SimpleStringProperty rnumProperty() {
        return rnum;
    }

    public void setRnum(String rnum) {
        this.rnum.set(rnum);
    }

    public String getBnum() {
        return bnum.get();
    }

    public SimpleStringProperty bnumProperty() {
        return bnum;
    }

    public void setBnum(String bnum) {
        this.bnum.set(bnum);
    }
}
